home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1998 July / EnigmA AMIGA RUN 29 (1998)(G.R. Edizioni)(IT)[!][issue 1998-07 & 08].iso / recent / warpup1.lha / WarpUP-WarpOS / lvo / powerpc_lib.i
Text File  |  1998-03-05  |  4KB  |  124 lines

  1. **
  2. **      $VER: powerpc_lib.i 14.0 (5.3.98)
  3. **
  4. **      Library offsets for powerpc.library V14
  5. **
  6.  
  7. ****  68K Library offsets
  8.  
  9. _LVORunPPC              =       -30
  10. _LVOWaitForPPC          =       -36
  11. _LVOGetCPU              =       -42
  12. _LVOPowerDebugMode      =       -48
  13. _LVOAllocVec32          =       -54
  14. _LVOFreeVec32           =       -60
  15. _LVOSPrintF68K          =       -66
  16. _LVOAllocXMsg           =       -72
  17. _LVOFreeXMsg            =       -78
  18. _LVOPutXMsg             =       -84
  19. _LVOGetPPCState         =       -90
  20.  
  21. ****  PPC Library offsets
  22.  
  23. _LVORun68K              =       -300
  24. _LVOWaitFor68K          =       -306
  25. _LVOSPrintF             =       -312
  26. _LVORun68KLowLevel      =       -318    ;PRIVATE!
  27. _LVOAllocVecPPC         =       -324
  28. _LVOFreeVecPPC          =       -330
  29. _LVOCreateTaskPPC       =       -336
  30. _LVODeleteTaskPPC       =       -342
  31. _LVOFindTaskPPC         =       -348
  32. _LVOInitSemaphorePPC    =       -354
  33. _LVOFreeSemaphorePPC    =       -360
  34. _LVOAddSemaphorePPC     =       -366
  35. _LVORemSemaphorePPC     =       -372
  36. _LVOObtainSemaphorePPC  =       -378
  37. _LVOAttemptSemaphorePPC =       -384
  38. _LVOReleaseSemaphorePPC =       -390
  39. _LVOFindSemaphorePPC    =       -396
  40. _LVOInsertPPC           =       -402
  41. _LVOAddHeadPPC          =       -408
  42. _LVOAddTailPPC          =       -414
  43. _LVORemovePPC           =       -420
  44. _LVORemHeadPPC          =       -426
  45. _LVORemTailPPC          =       -432
  46. _LVOEnqueuePPC          =       -438
  47. _LVOFindNamePPC         =       -444
  48. _LVOFindTagItemPPC      =       -450
  49. _LVOGetTagDataPPC       =       -456
  50. _LVONextTagItemPPC      =       -462
  51. _LVOAllocSignalPPC      =       -468
  52. _LVOFreeSignalPPC       =       -474
  53. _LVOSetSignalPPC        =       -480
  54. _LVOSignalPPC           =       -486
  55. _LVOWaitPPC             =       -492
  56. _LVOSetTaskPriPPC       =       -498
  57. _LVOSignal68K           =       -504
  58. _LVOSetCache            =       -510
  59. _LVOSetExcHandler       =       -516
  60. _LVORemExcHandler       =       -522
  61. _LVOSuper               =       -528
  62. _LVOUser                =       -534
  63. _LVOSetHardware         =       -540
  64. _LVOModifyFPExc         =       -546
  65. _LVOWaitTime            =       -552
  66. _LVOChangeStack         =       -558    ;PRIVATE!
  67. _LVOLockTaskList        =       -564
  68. _LVOUnLockTaskList      =       -570
  69. _LVOSetExcMMU           =       -576
  70. _LVOClearExcMMU         =       -582
  71. _LVOChangeMMU           =       -588
  72. _LVOGetInfo             =       -594
  73. _LVOCreateMsgPortPPC    =       -600
  74. _LVODeleteMsgPortPPC    =       -606
  75. _LVOAddPortPPC          =       -612
  76. _LVORemPortPPC          =       -618
  77. _LVOFindPortPPC         =       -624
  78. _LVOWaitPortPPC         =       -630
  79. _LVOPutMsgPPC           =       -636
  80. _LVOGetMsgPPC           =       -642
  81. _LVOReplyMsgPPC         =       -648
  82. _LVOFreeAllMem          =       -654
  83. _LVOCopyMemPPC          =       -660
  84. _LVOAllocXMsgPPC        =       -666
  85. _LVOFreeXMsgPPC         =       -672
  86. _LVOPutXMsgPPC          =       -678
  87. _LVOGetSysTimePPC       =       -684
  88. _LVOAddTimePPC          =       -690
  89. _LVOSubTimePPC          =       -696
  90. _LVOCmpTimePPC          =       -702
  91. _LVOSetReplyPortPPC     =       -708
  92. _LVOSnoopTask           =       -714
  93. _LVOEndSnoopTask        =       -720
  94. _LVOGetHALInfo          =       -726
  95. _LVOSetScheduling       =       -732
  96. _LVOFindTaskByID        =       -738
  97. _LVOSetNiceValue        =       -744
  98.  
  99.         IFND    _POWERMODE
  100.  
  101. CALLPOWERPC     MACRO
  102.         move.l  _PowerPCBase,a6
  103.         jsr     _LVO\1(a6)
  104.         ENDM
  105.  
  106.         ELSEIF
  107.  
  108.         IFND    POWERPC_PPCMACROS_I
  109.         INCLUDE powerpc/ppcmacros.i
  110.         ENDC
  111.  
  112. CALLPOWERPC     MACRO
  113.         lw      r3,_PowerPCBase
  114.         lwz     r0,_LVO\1+2(r3)
  115.         mtlr    r0
  116.         blrl
  117.         ENDM
  118.  
  119.         ENDC
  120.  
  121. POWERPCNAME     MACRO
  122.         dc.b    'powerpc.library',0
  123.         ENDM
  124.